package com.jsh.erp.datasource.mappers;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jsh.erp.datasource.entities.SysUserDepart;
import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface SysUserDepartMapper extends BaseMapper<SysUserDepart> {
	
	List<SysUserDepart> getUserDepartByUid(@Param("userId") String userId);

    SysUserDepart findByUserId(@Param("userId")String userId);

    Integer countUsersByDepartId(@Param("departIds")List<String> departId);
}
